package com.framework.loippi.controller.api.result.${packageName};

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Result - ${remark}
 * 
 * @description ${description!''}
 * @author ${author!'Loippi Team'}
 * @version ${version!'2.0'}
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ${interfacer.functionName}Result{
	private static final long serialVersionUID = 5081846432919091193L;
	
	<#list interfacer.results as p>
	/** <#if p.remark??>${p.remark}<#else>${p.name?cap_first}</#if> */
	private ${p.type} ${p.name};
	
	</#list>
	
	
	public ${interfacer.functionName}Result debug(){
		${interfacer.functionName}Result result = new ${interfacer.functionName}Result();
		<#list interfacer.results as p>
		result.set${p.name?uncap_first}(<#if p.type=='String'>"${p.values}"<#else>${p.values}</#if>);
		</#list>
		return result;
	}
}
